package com.ruoyi.activiti.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 请假对象 leave
 * 
 * @author qmc
 * @date 2025-07-18
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class LeaveBean extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 申请人姓名
     */
    @Excel(name = "申请人姓名")
    private String name;

    /**
     * 性别
     */
    @Excel(name = "性别")
    private String sex;

    /**
     * 申请人所在部门
     */
    @Excel(name = "申请人所在部门")
    private String detp;

    /**
     * 手机号
     */
    @Excel(name = "手机号")
    private String phone;

    /**
     * 申请时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date applyDate;

    /**
     * 请假类型
     */
    @Excel(name = "请假类型")
    private String leaveType;

    /**
     * 请假原因
     */
    @Excel(name = "请假原因")
    private String leaveReason;

    /**
     * 请假开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "请假开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date leaveStartDate;

    /**
     * 请假结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "请假结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date leaveEndDate;

    /**
     * 请假天数
     */
    @Excel(name = "请假天数")
    private Integer leaveCount;

    /**
     * 0正常，1删除
     */
    @Excel(name = "0正常，1删除")
    private Integer delStatus;

    /**
     * 启动流程实例ID
     */
    @Excel(name = "流程实例ID")
    private String processIns;
    /**
     *流程定义ID
    * */
    @Excel(name = "流程定义ID")
    private String processDefId;
}
